Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


Copy

The Copy method creates a new transform that is a copy of this transform.

ODTransform Copy ();
return value
A reference to the newly created transform.
DISCUSSION
The new transform does not share any data with this transform; therefore, you can modify each of the transforms independently.

This method initializes the reference count of the returned transform. When you have finished using that transform, you should call its Release method.

OVERRIDING
If you subclass ODTransform to create a nonlinear transform class, you must override this method. Your override method can call its inherited method at any point in your implementation (it does not matter where).

EXCEPTION
kODErrOutOfMemory
There is not enough memory to copy the transform.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help